package com.ming_za.od_updater_sdk.event;

import com.ming_za.od_updater_sdk.obj.Res;

public class UpdateEvent {

    /**
     * 资源信息
     */
    private final Res res;

    /**
     * 版本号
     */
    private final int version;

    public UpdateEvent(Res res, int version) {
        this.res = res;
        this.version = version;
    }

    public Res getRes() {
        return res;
    }

    public int getVersion() {
        return version;
    }
}
